/**
 * Copyright (c) 2018-2018 Red Hat, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *   Red Hat, Inc. - initial API and implementation
 */

#workspace-loader {
    position: fixed;
    width: 300px;
    height: 45px;
    left: 50%;
    top: 30%;
    margin-left: -150px;
    opacity: 0;
    display: none;
    transition: all 0.2s ease-in-out;
}

#workspace-loader-label {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 300px;
    height: 30px;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    color: #a0a9b7;
}

#workspace-loader-progress {
    position: absolute;
    width: 300px;
    height: 15px;
    left: 0px;
    bottom: 0px;
    background-color: #202325;
    border: 1px solid #456594;
    box-sizing: border-box;
}

#workspace-loader-progress>div {
    position: absolute;
    left: 1px;
    right: 1px;
    top: 1px;
    bottom: 1px;
    overflow: hidden;
}

#workspace-loader-progress-bar {
    box-sizing: border-box;
    height: 100%;
    width: 0%;
    background-color: #498fe1;
    transition: all 0.2s linear;
    animation-name: dancing;
    animation-duration: 3s;
    animation-delay: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

#workspace-console {
    position: fixed;
    left: 30px;
    right: 30px;
    bottom: 25px;
    height: 30%;
    background-color: transparent;
    overflow: auto;
    color: #e6e6e6;
    left: 2px;
    right: 2px;
    bottom: 2px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

#workspace-console>div {
    position: relative;
    width: 100%;
}

#workspace-console pre {
    font-family: "Droid Sans Mono", monospace;
    font-size: 9pt;
    line-height: 13px;
    padding: 0;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    cursor: text;
    cursor: pointer;
}

#workspace-loader[max] {
    top: 5%;
}

#workspace-console[max] {
    height: calc(100% - 110px);
}

@-webkit-keyframes dancing {
    0% {
        width: 0%;
        margin-left: 0%;
    }
    30% {
        width: 30%;
        margin-left: 0%;
    }
    70% {
        width: 30%;
        margin-left: 70%;
    }
    100% {
        width: 0%;
        margin-left: 100%;
    }
}

@keyframes dancing {
    0% {
        width: 0%;
        margin-left: 0%;
    }
    6% {
        width: 30%;
        margin-left: 0%;
    }
    14% {
        width: 30%;
        margin-left: 70%;
    }
    20% {
        width: 0%;
        margin-left: 100%;
    }
    100% {
        width: 0%;
        margin-left: 100%;
    }
}

/********************************************************************************************
    *
    * Styled scroll bars
    *
    ********************************************************************************************/

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
    display: none;
}

::-webkit-scrollbar-corner {
    background-color: transparent;
    display: none;
}

::-webkit-scrollbar-track, ::-webkit-scrollbar-track:hover, ::-webkit-scrollbar-track:active {
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
}

::-webkit-scrollbar-thumb {
    background-clip: padding-box;
    background-color: rgba(215, 215, 215, 0.10);
    ;
    border: 2px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 0 2px rgba(235, 235, 235, 0.3);
    box-shadow: inset 0 0 2px rgba(235, 235, 235, 0.3);
    min-height: 32px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(215, 215, 215, 0.3);
}
